import {
	BookOutlined,
	ReadOutlined,
	ScheduleOutlined,
	SisternodeOutlined,
	LikeOutlined
} from "@ant-design/icons-vue"
import { useRoutePathToPage,useRouteNameToPage } from '@u/router.js';

export const showIndexViewConfig = {
	avatar: {
		src: require("@a/img/avatar.jpg")
	},
	title: "GGB  VUE3.0 ing",
	subTitle: "只是去展示自己",
	unwantedBackWhiteList:['ShowBlog'],
	homePath: "/show/blogs/1",
	buttonGroup: [
		{
			text: "日志",
			icon: <BookOutlined />,
			handle: useRoutePathToPage('/show/blogs/1')
		},
		{
			text: "读书",
			icon: <ReadOutlined />,
			handle: useRoutePathToPage('/show/books/1')
		},
		{
			text: "项目",
			icon: <ScheduleOutlined />,
			handle: useRouteNameToPage("ShowProject")
		},
		{
			text: "归档",
			icon: <SisternodeOutlined />,
			handle: useRouteNameToPage("ShowFile")
		},
		{
			text: "赞助列表",
			icon: <LikeOutlined />,
			handle: useRouteNameToPage("ShowList")
		}
	]
}